int numOfUnplacedFruits(int* fruits, int fruitsSize, int* baskets, int basketsSize)
{
    bool check[200] = { false };
    for (int i = 0; i < fruitsSize; i++)
        for (int j = 0; j < basketsSize; j++)
            if (check[j] == false && baskets[j] >= fruits[i])
            {
                check[j] = true;
                break;
            }
    int cal = 0;
    for (int i = 0; i < basketsSize; i++)
        if (!check[i])
            cal++;
    return cal;
}